<?php $this->load->view('layout/header'); ?>
<script src="/static/bk/ueditor/ueditor.config.js"></script>
<script src="/static/bk/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
    var editor = UE.getEditor('myEditor', {
        initialFrameWidth: 800,
        initialFrameHeight: 300
    });
</script>

<form name="form1" method="post" action="<?php echo site_url('sitemap/index');?>" id="form1" enctype="multipart/form-data">
    <div>
    </div>
    <div id="container">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_form">
            <tr class="table_form_title">
                <td colspan="4">
                    <span id="lblTitle">上传网站地图</span>
                </td>
            </tr>
            <?php if(isset($file)){ ?>
                <tr class="table_list_row_normal">
                    <td width="20%" align="right">已有地图sitemap.xml</td>
                    <td><a href="<?php echo site_url('sitemap/download').'/sitemap.xml';?>" target="_blank">点此下载</a></td>
                </tr>
            <?php } ?>
            <tr class="table_form_btn">
                <td align="right">&nbsp;</td>
                <td><input type="submit" name="sub" value="生成地图"></td>
            </tr>
        </table>
    </div>
</form>
</body>
</html>